import service from '@/network/request';

export const deleteBannerList = (data) => {
    return service({
      url: '/public/deleteBannerList',
      method: 'post',
      data: data,
    })
  }
  
  export const getBannerList = (data) => {
      return service({
        url: '/public/getBannerList',
        method: 'post',
        data: data,
      })
    }
  
  export const updateBanner = (data) => {
      return service({
          url: '/public/updateBanner',
          method: 'post',
          data
      })
  }
  
  export const createBanner = (data) => {
      return service({
          url: '/public/createBanner',
          method: 'post',
          data
      })
  }